#! /usr/bin/env python
# -*- coding: UTF-8 -*-
"""
Created by jianbing on 2017-09-08
"""

t_chart = """
    <div id="{chart_id}" style="width: {width}px;height:{height}px;"></div>
    <script type="text/javascript">
        var myChart = echarts.init(document.getElementById('{chart_id}'));
        var option = {op};
        myChart.setOption(option);
    </script>
"""


